package com.example.post.services;

import com.example.post.mapper.MessageMapper;
import com.example.post.model.Message;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


public interface MessageService {


    void sendMessage(int senderId, int receiverId,String content);
    List<Message> getMyMessages(int userId);
   List<Message> getMessages(int userId);

}
